package com.example.day03_jiguang;

import android.app.Application;
import android.provider.SyncStateContract;

import cn.jpush.android.api.JPushInterface;

public class BaseApp extends Application {
  public static BaseApp sBaseApp;
    @Override
    public void onCreate() {
        super.onCreate();
        sBaseApp=this;
        initJpush();
    }

    private void initJpush() {
        JPushInterface.setDebugMode(Constants.isDebug);
        JPushInterface.init(this);

    }

}
